<!--
 * @Description: 事件影响参数
 * @Author: JiangMing
 * @Date: 2021-09-3 15:34:00
 * @LastEditors: JiangMing
 * @LastEditTime: 2021-09-3 15:34:00
-->
<template>
  <view class="content-parameter">
    <uni-table stripe emptyText="暂无更多数据" >
      <!-- 表头行 -->
      <uni-tr>
        <uni-th align="left" width="200rpx">参数名称</uni-th>
        <uni-th align="right">数值</uni-th>
        <uni-th align="right">单位</uni-th>
      </uni-tr>
      <!-- 表格数据行 -->
      <uni-tr v-for="(item,index) in tableData" :key="index">
        <uni-td align="left">{{ item.name }}</uni-td>
        <uni-td align="right">{{ item.value }}</uni-td>
        <uni-td align="right">{{ item.unit }}</uni-td>
      </uni-tr>
    </uni-table>
  </view>
</template>

<script>
export default {
  props: {
    eventId: {
      type: String
    }
  },
  data() {
    return {
      tableData: [
        { name: '参数1', value: '12', unit: '人' },
        { name: '参数2', value: '12', unit: '人' },
        { name: '参数3', value: '12', unit: '人' },
        { name: '参数4', value: '12', unit: '人' },
        { name: '参数5', value: '12', unit: '人' },
      ]
    }
  },
  mounted() {

  }
}
</script>

<style lang="scss" scoped>
.content-parameter {
  padding: 32rpx;
}
</style>